<!--
  Generated template for the PersonalUserAgreedPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>被同意的申请</ion-title>
  </ion-navbar>

</ion-header>



<ion-content padding>
  <ion-refresher (ionRefresh)="doRefresh($event)">
    <ion-refresher-content
      pullingIcon="arrow-dropdown"
      pullingText="下拉刷新"
      refreshingSpinner="circles"
      refreshingText="小蜜正在为您加载哦...">

    </ion-refresher-content>
  </ion-refresher>



  <ion-list>
    <ion-item-sliding *ngFor="let house of houses | status:1;trackBy: trackByHouses">

      <ion-item (click)="toDetail(house)">
        <ion-avatar item-start>
          <img src="http://owhah4u2f.bkt.clouddn.com/images/houses/{{house.houseId}}/1.jpg">
        </ion-avatar>

        <h2 style="font-size: 1.1em;margin-top: 1px">{{house.houseName}}</h2>
        <p>{{house.room}}室{{house.livingroom}}厅{{house.bathroom}}卫/{{house.aspect}}/{{house.areaName}}</p>
        <!--<div>-->
        <div>
          <span class="biaoqian">随时看房</span>
          <span style="float: right;font-size: 0.8em;color: #8e9093">{{house.publishTime | date: 'shortDate' }}</span>
        </div>
        <!--</div>-->
        <div>
          <span style="color: red;font-size: 1.1em">{{house.housePrice}}元／月</span>
          <span style="color: black;font-size: 1.1em;float: right">{{house.area}}平</span>
        </div>



      </ion-item>

      <ion-item-options side="right">

        <button ion-button color="danger" (click)="delRecordByarrId(house.arrangeId)">
          <ion-icon name="trash"></ion-icon>
          删除
        </button>

      </ion-item-options>
    </ion-item-sliding>
  </ion-list>

  <!--&lt;!&ndash;下拉加载&ndash;&gt;-->
  <!--<ion-infinite-scroll (ionInfinite)="$event.waitFor(doInfinite($event))">-->
  <!--<ion-infinite-scroll-content-->
  <!--oadingSpinner="bubbles"-->
  <!--loadingText="Loading more data...">-->

  <!--</ion-infinite-scroll-content>-->
  <!--</ion-infinite-scroll>-->

  <ion-item *ngIf="noMore">
    没有更多房源了哦~~
  </ion-item>
</ion-content>
